package com.fbs.job.admin.mapper;
import com.fbs.job.admin.core.entity.FbsJobActuator;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* 描述： Mapper
* @author wwd
* @date 2024-01-29 13:54:43
*/
@Mapper
public interface FbsJobActuatorMapper {
     List<FbsJobActuator> pageList(@Param("offset") int offset,
                                         @Param("pageSize") int pageSize,
                                         @Param("appName") String appName,
                                         @Param("title") String title);

     int pageListCount(@Param("offset") int offset,
                             @Param("pageSize") int pageSize,
                             @Param("appName") String appName,
                             @Param("title") String title);

    FbsJobActuator getById(@Param("id") int id);

    int save(FbsJobActuator fbsJobActuator);

    List<FbsJobActuator> findByAddressType(@Param("addressType") int addressType);

    int update(FbsJobActuator group);

    List<FbsJobActuator> findAll();

    int delete(@Param("id") int id);
}
